<?php
class EmptyResultException extends Exception{
	private $query;
	
	public function __construct($query){
		parent::__construct("The query " . $query . " returned an empty resultset");
		
		$this->query = $query;
	}
	
	public function getQuery(){
		return $this->query;
	}
}
?>